<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : Task3.xsl
    Created on : 22 Июнь 2012 г., 0:05
    Author     : I
    Description:
        Purpose of transformation follows.
-->

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>

    <!-- TODO customize transformation rules 
         syntax recommendation http://www.w3.org/TR/xslt 
    -->
  <xsl:template match="/"> 
 <html>
    <head> 
        <title>Task3</title>
    </head>
    <body>

        
 <xsl:template>

 <xsl:apply-templates />
 </xsl:template>
 
  

 
 
 
 </body>
 </html>
  </xsl:template> 
  <xsl:template match="resume">
     <h2>
 Имя:
 <xsl:value-of select="@name" />
 <br />
 Дата рождения:
 <xsl:value-of select="@date-of-birth" />
 <br />
 e-Mail:
 <xsl:value-of select="@email" />
 <br />
 </h2>
 <xsl:apply-templates />
 </xsl:template>
 <xsl:template match="skills">
 <xsl:apply-templates />
 </xsl:template>
 
 <xsl:template match="skill">
 <h3>Описание:
 <xsl:value-of select="@description" /></h3>
 <br />
 <xsl:apply-templates />
 </xsl:template>
 
 <xsl:template match="skill/item">
 Наименование:
 <xsl:value-of select="@name" />
 <br />
 <xsl:apply-templates />
 </xsl:template>
 <xsl:template match="certificates">
 <h3>Сертификат:
</h3>
 <br />
 <xsl:apply-templates />
 </xsl:template>
 
 <xsl:template match="certificates/certificate">
 Наименование:
 <xsl:value-of select="@name" />
 <br />
 <xsl:apply-templates />
 </xsl:template> 
  
  
  
 <xsl:template match="education">
 <h3>Образование:
</h3>
 <br />
 <xsl:apply-templates />
 </xsl:template>    
 
<xsl:template match="education/item">
 Наименование:
 <xsl:value-of select="@name" />
 <br />
 <xsl:apply-templates />
 </xsl:template> 
 
 <xsl:template match="experience">
 <h3>Опыт:
</h3>
 <br />
 <xsl:apply-templates />
 </xsl:template>
 
 <xsl:template match="experience/organisation">
     <h4>
 Наименование:
 <xsl:value-of select="@name" />
 <br />
 Период:
 <xsl:value-of select="@time" />
 <br />
 Должность:
 <xsl:value-of select="@job" />
 <br />
 </h4>
 <xsl:apply-templates />
 </xsl:template>
 
 <xsl:template match="experience/organisation/item">
 <xsl:value-of select="@name" />
 <br />
 <xsl:apply-templates />
 </xsl:template>
 
</xsl:stylesheet>
